#
# BEGIN SONGBIRD GPL
# 
# This file is part of the Songbird web player.
#
# Copyright(c) 2005-2008 POTI, Inc.
# http://www.songbirdnest.com
# 
# This file may be licensed under the terms of of the
# GNU General Public License Version 2 (the "GPL").
# 
# Software distributed under the License is distributed 
# on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either 
# express or implied. See the GPL for the specific language 
# governing rights and limitations.
#
# You should have received a copy of the GPL along with this 
# program. If not, go to http://www.gnu.org/licenses/gpl.html
# or write to the Free Software Foundation, Inc., 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# 
# END SONGBIRD GPL
#

DEPTH     = ../..
topsrcdir = @top_srcdir@
srcdir    = @srcdir@
VPATH     = @srcdir@
  
include $(DEPTH)/build/autodefs.mk

SUBDIRS = chrome \
          components \
          defaults \
          $(NULL)

EXTENSION_NAME = albumview
EXTENSION_UUID = albumview@bengtsononline.com
EXTENSION_DIR  = .
EXTENSION_STAGE_DIR = ./.xpistage

EXTENSION_VER := 0.6.0
EXTENSION_MIN_VER := 1.1.0
EXTENSION_MAX_VER := 1.2.*

ifeq (windows,$(SB_PLATFORM))
EXTENSION_ARCH = WINNT_x86-msvc
endif # SB_PLATFORM = windows

ifeq (linux,$(SB_PLATFORM))
EXTENSION_ARCH = Linux
endif # SB_PLATFORM = linux

ifeq (macosx,$(SB_PLATFORM))
EXTENSION_ARCH = Darwin
endif # SB_PLATFORM = macosx

XPI_NAME = $(EXTENSION_NAME)-$(EXTENSION_VER)-$(EXTENSION_ARCH)

CREATEDIRS = $(SONGBIRD_COMPONENTSDIR)

libs:: create_dirs

include $(topsrcdir)/build/rules.mk
